package com.citrus.demo.mapper;

import com.citrus.demo.bean.CitrusDisease;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CitrusDiseaseMapper {

    /**
     * 添加一个病虫害
     * @param citrusDisease
     */
    void addCitrusDisease(CitrusDisease citrusDisease);

    /**
     * 查询全部病虫害
     * @return
     */
    List<CitrusDisease> findCitrusDiseaseAll();

}
